using B.S.XZYData.ErrorCode;
using B.S.XZYData.Domain.XZY;
using MediatR;
using System;

namespace B.S.XZYData.Api.Read.Application.Command.DefectiveItemDistribution
{
    /// <summary>
    /// 获取不良品项分布分页数据命令
    /// </summary>
    public class GetDefectiveItemDistributionCommand : IRequest<ApiPageing<B.S.XZYData.Domain.XZY.DefectiveItemDistribution>>
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int Index { get; set; } = 1;

        /// <summary>
        /// 页大小
        /// </summary>
        public int Size { get; set; } = 30;

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? StartTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }

        /// <summary>
        /// 不良品项编号
        /// </summary>
        public string? DefectiveItemCode { get; set; }

        /// <summary>
        /// 不良品项名称
        /// </summary>
        public string? DefectiveItemName { get; set; }
    }
}
